WPML\Core\Twig\Template D

Total Complexity 142
Dependencies 16
Dependents 6
Total lines 611
Lines of code 389
Logical lines of code 255
Comment lines 187
Methods 25
Properties 7

Methods 25

Method Rating Maintainability Complexity Lines of code
getAttribute()
D
21
69 155
displayBlock()
A
45 12 37
loadTemplate()
A
48 11 31
getParent()
S
53 7 22
render()
S
54 6 24
displayWithErrorHandling()
S
56 5 17
hasBlock()
S
57 5 16
getContext()
S
63 4 9
getBlockNames()
S
61 3 11
displayParentBlock()
S
61 3 10
renderBlock()
S
63 2 11
renderParentBlock()
S
63 2 11
__toString()
S
81 1 3
isTraitable()
S
81 1 3
doGetParent()
S
81 1 3
getEnvironment()
S
74 1 4
getSourceContext()
S
77 1 3
unwrap()
S
82 1 3
getBlocks()
S
82 1 3
display()
S
78 1 3
getSource()
S
74 1 4
getDebugInfo()
S
82 1 3
doDisplay()
S
100 1 0
getTemplateName()
S
100 1 0
__construct()
S
81 1 3